package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyDetailSign;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyDetailSignService {

    StrategyDetailSign get(Long id);

    List<StrategyDetailSign> listAll();

    void save(StrategyDetailSign strategyDetailSign);

    void update(StrategyDetailSign strategyDetailSign);

    PageInfo queryForList(QueryObject qo);

    void updateState(StrategyDetailSign strategyDetailSign);

    StrategyDetailSign selectByStrategyDetailId(Long strategyDetailId, Long userId);

    int queryGreatStatusCountByStrategyDetailId(Long strategyDetailId);

    int queryEnshrineStatusCountByStrategyDetailId(Long strategyDetailId);
}
